package com.etc.entity;

import org.springframework.web.multipart.MultipartFile;

import java.io.Serializable;

public class UserImage implements Serializable {
    MultipartFile file ;
    String username;

    public UserImage() {
    }

    public UserImage(MultipartFile file, String username) {
        this.file = file;
        this.username = username;
    }

    @Override
    public String toString() {
        return "UserImage{" +
                "file=" + file +
                ", username='" + username + '\'' +
                '}';
    }

    public MultipartFile getFile() {
        return file;
    }

    public void setFile(MultipartFile file) {
        this.file = file;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }
}
